package nc.itf;


/**
 * business service ejb wrapper 
 * Created by EJBGenerator
 * based on velocity technology
 */

public class yuanzujk_Local extends nc.bs.mw.naming.BeanBase
    implements nc.itf.yuanzujkEjbObject {
   
  public yuanzujk_Local() {
	super();
  }

  private nc.itf.yuanzujkEjbBean _getBeanObject() throws java.rmi.RemoteException {
    return (nc.itf.yuanzujkEjbBean) getEjb();
  }

  public java.lang.Object chkWMS(java.lang.String arg0 ,java.lang.Object arg1 ) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.yuanzujk_Method_Const_Local.Method_chkWMS$String_arg0$Object_arg1    );
    Exception er = null;
	java.lang.Object o = null;
	try{
				o = (java.lang.Object)_getBeanObject().chkWMS(arg0 ,arg1 );			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.yuanzujk_Method_Const_Local.Method_chkWMS$String_arg0$Object_arg1, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public java.lang.Object pushWMS(java.lang.String arg0 ,java.lang.Object arg1 ) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.yuanzujk_Method_Const_Local.Method_pushWMS$String_arg0$Object_arg1    );
    Exception er = null;
	java.lang.Object o = null;
	try{
				o = (java.lang.Object)_getBeanObject().pushWMS(arg0 ,arg1 );			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.yuanzujk_Method_Const_Local.Method_pushWMS$String_arg0$Object_arg1, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public java.lang.Object pushBatchWMS(java.lang.String arg0 ,java.lang.Object[] arg1 ) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.yuanzujk_Method_Const_Local.Method_pushBatchWMS$String_arg0$ObjectS_arg1    );
    Exception er = null;
	java.lang.Object o = null;
	try{
				o = (java.lang.Object)_getBeanObject().pushBatchWMS(arg0 ,arg1 );			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.yuanzujk_Method_Const_Local.Method_pushBatchWMS$String_arg0$ObjectS_arg1, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public java.lang.Object chkBatchWMS(java.lang.String arg0 ,java.lang.Object[] arg1 ) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.yuanzujk_Method_Const_Local.Method_chkBatchWMS$String_arg0$ObjectS_arg1    );
    Exception er = null;
	java.lang.Object o = null;
	try{
				o = (java.lang.Object)_getBeanObject().chkBatchWMS(arg0 ,arg1 );			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.yuanzujk_Method_Const_Local.Method_chkBatchWMS$String_arg0$ObjectS_arg1, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public java.lang.Object beginChWmsStatus_RequiresNew() throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.yuanzujk_Method_Const_Local.Method_beginChWmsStatus_RequiresNew    );
    Exception er = null;
	java.lang.Object o = null;
	try{
				o = (java.lang.Object)_getBeanObject().beginChWmsStatus_RequiresNew();			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.yuanzujk_Method_Const_Local.Method_beginChWmsStatus_RequiresNew, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public java.lang.Object endChWmsStatus_RequiresNew(java.util.ArrayList arg0) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.yuanzujk_Method_Const_Local.Method_endChWmsStatus_RequiresNew$ArrayList_arg0    );
    Exception er = null;
	java.lang.Object o = null;
	try{
				o = (java.lang.Object)_getBeanObject().endChWmsStatus_RequiresNew(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.yuanzujk_Method_Const_Local.Method_endChWmsStatus_RequiresNew$ArrayList_arg0, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public java.lang.Object dealWmsData_RequiresNew(nc.vo.pub.AggregatedValueObject arg0) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.yuanzujk_Method_Const_Local.Method_dealWmsData_RequiresNew$AggregatedValueObject_arg0    );
    Exception er = null;
	java.lang.Object o = null;
	try{
				o = (java.lang.Object)_getBeanObject().dealWmsData_RequiresNew(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.yuanzujk_Method_Const_Local.Method_dealWmsData_RequiresNew$AggregatedValueObject_arg0, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public java.lang.Object dealUIData(nc.vo.pub.AggregatedValueObject arg0) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.yuanzujk_Method_Const_Local.Method_dealUIData$AggregatedValueObject_arg0    );
    Exception er = null;
	java.lang.Object o = null;
	try{
				o = (java.lang.Object)_getBeanObject().dealUIData(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.yuanzujk_Method_Const_Local.Method_dealUIData$AggregatedValueObject_arg0, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
}